.game-container {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    background: #f0f0f0;
    grid-template-areas:
        "character inventory log"
        "activity action log";
    gap: 5px;
    width: 100%;
    height: 100vh;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.log-panel {
    grid-area: log;
    min-height: 100%;
}

.character-panel {
    grid-area: character;
}

.inventory-panel {
    grid-area: inventory;
}

.activity-panel {
    grid-area: activity;
}

.action-panel {
    grid-area: action;
}

.panel {
    background: #42acd6;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: auto;
}

.panel>* {
    margin: 0;
    padding: 10px;
}   

.panel {
    display: flex;
    flex-direction: column;
    padding: 10px;
    flex-grow: 1;
}

.panel>* {
    margin: 0;
    min-width: 100%;
}

.character-panel,
.inventory-panel,
.activity-panel,
.action-panel {
    min-height: 250px;
}